home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 5332 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.3 KB

  1. Path: Norway.EU.net!usenet
  2. From: patrick.hanevold@login.eunet.no (Patrick Hanevold)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Ceck out this bug. What the *** is SASC/6.56 doing?
  5. Date: 13 Mar 1996 04:20:34 GMT
  6. Organization: EUnet Norway
  7. Message-ID: <879.6646T4T2378@login.eunet.no>
  8. References: <1120.6643T91T406@login.eunet.no> <v24trvir4v.fsf@athena-e.eurpd.csg.mot.com>
  9. NNTP-Posting-Host: pc2.asker-pm2-1.eunet.no
  10. X-Newsreader: THOR 2.22 (Amiga;TCP/IP)
  11.  
  12.  
  13. >You're probably overflowing your stack.  That ULONG Palette is 6144 bytes,
  14. >and since it is a local variable it is stored on the stack.
  15. Try dividing by two, then you are getting a little closer. :)
  16.  
  17. >Look at your CLI stack size.  If it's low (especially lower than 7000)
  18. >then you need more.  Set it to 20K and I bet you don't crash.
  19.  
  20. >In SAS you can set long __stack = 10000 or whatever to force the program's
  21. >stack to be larger.  Then you won't have to worry about the CLI stack.
  22.  
  23. If it is the stack, then SC's stack check routines are crapp.
  24. Anyway, none of the OS calls themseves crash. Its SC's exit routines
  25. that messes around in memory. Avent checked so much whats going on around
  26. there, but it shouldnt crash with stack check or stack extend on.
  27.  
  28. <sb>Patrick Hanevold - Virtual Reality developer
  29. <sb>patrick.hanevold@login.eunet.no
  30. <sb>Amiga and official Be developer
  31.  
  32.